<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>超链接hover失效及伪类</title>
    <style>
        a:link{ background:red;}
        a:visited{background:aqua;}
        a:hover{background:black;}
        a:active{background:wheat;}
        q:lang(no){
            quptes:"~" "~"
        }
        input:focus{
            color: red;
            background-color: aqua;
        }
        span{
            display: block;
            width: 300px;
            height: 100px;
            border: 1px solid black;
        }
        span:focus{
            color: red;
            background-color: #005cbf;
        }
    </style>
</head>
<body>
<div><a href="#">超链接hover失效改 L-V-H-A</a></div>
<div><q lang="no">:lang伪类</q></div>
<div class="d3"><input type="text" placeholder="请输入"></div>
<span><input type="text" placeholder="请输入"></span>
</body>
</html>